import random

gamePlayer = int(input("请输入您要出的拳，其中 1 表示布，2 表示 剪刀，3 表示石头:"))
gameComputer = random.randint(1, 3)
if (gamePlayer == 1 and gameComputer == 3) or (
        gamePlayer == 2 and gameComputer == 1) or (
        gamePlayer == 3 and gameComputer == 1):
    print("你赢啦")
elif gamePlayer == gameComputer:
    print("平局咯")
else:
    print("你拜拜了")
